package service.user;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.BaseMapper;
import com.common.BaseService;

import beans.user.subresult;
import mapper.user.subresultMapper;
import mapper.user.wxuserMapper;

@Service
@Transactional
public class SubResultServiceImpl<T> extends BaseService<T>{

	@Autowired
	private subresultMapper<T> _subresultMapper;

	@Override
	public BaseMapper<T> getMapper() {
		return _subresultMapper;
	}

	public List<T> getResult(int top) {
		return _subresultMapper.getResult(top);
	}
}